
package q10.Visitor;

/**
 *
 * @author valicu
 */
public class CalculVisior {

    public static double CalculSin(double calcul)
    {
		return Math.sin(calcul);
    }

    public static double CalculCos(double calcul)
    {
		return Math.cos(calcul);
   }

    public static double CalculArcos(double calcul) {
		return Math.acos(calcul);
    }

    public static double CalculArctan(double aux1)
	{
		return 1/Math.atan(aux1);
	}

    public static double CalculArcsin(double aux1){
		return Math.asin(aux1);
	}

    public static double CalculArctg(double aux1)
	{
	return Math.atan(aux1);
	}

    public double CalculCt(double aux1){
		return aux1;
	}
    public static double CalculCtg(double aux1)
	{
	return 1/Math.tan(aux1);
	}
    public static double CalculExp(double aux1)
	{
	return Math.exp(aux1);
	}
    public static double CalculLog(double aux1)
	{
	  return Math.log(aux1);
	}
    public static double CalculPutere(double aux1, int putere)
	{
	return Math.pow(aux1,putere);
	}
    public static double CalculRadical(double aux1)
	{
	return Math.sqrt(aux1);
	}
    public static double CalculTg(double aux1)
	{
		return Math.tan(aux1);
	}
}
